package org.fjsei.yewu.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
//import javax.validation.constraints.NotBlank;
//import javax.validation.constraints.Pattern;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class GlobalIdRequest {

//    @NotBlank(message = "类型不能为空")
    private String type;

//    @NotBlank(message = "UUID不能为空")
//    @Pattern(
//            regexp = "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
//            message = "UUID格式不正确"
//    )
    private String uuid;
}
